home *** CD-ROM | disk | FTP | other *** search
/ Explorer - Mosaic & Web / Explorer - Mosaic & Web.iso / urbstuff / unix / cshrc next >
Encoding:
Text File  |  1995-01-30  |  4.5 KB  |  120 lines

  1. # Path statement; these are the directories you check for programs
  2. # you want to run.
  3.  
  4. set path=(/usr/local/bin /usr/ucb /bin /usr/bin /usr/games /etc /usr/etc .)
  5.  
  6. # Save the last 22 commands issued from our tty; they can be looked up using
  7. # the "history" command, and invoked using ! commands.
  8.  
  9. set history=22
  10.  
  11. # Let you know when "You have new mail."; checks once a minute for the arrival
  12. # of mail, lets you know as soon as you get back to the cshell prompt.
  13.  
  14. set mail=(1 /usr/spool/mail/$USER)
  15.  
  16. # Cause files to be created such that no one else can read them.  Read the
  17. # man pages on 'chmod' and on 'umask' for how to change this.
  18.  
  19. umask 077
  20.  
  21. # Set environment variables; these can be changed at will.  Be sure that you
  22. # understand the consequences of changing these variables before doing so.
  23. #
  24. #  The EDITOR and VISUAL variables select the default editor used by other
  25. #  programs, particularly when composing postings or mail.  "pico" and "vi"
  26. #  are the other reasonable choices.  The commented lines (starting with "#")
  27. #  may be activated by removing the "# " characters; delete or comment out the
  28. #  lines you don't want.
  29.  
  30. # setenv EDITOR "pico"
  31. setenv EDITOR "emacs"
  32. # setenv EDITOR "vi"
  33. setenv VISUAL $EDITOR
  34. setenv SIMPLE_BACKUP_SUFFIX ".bak"
  35. alias   mail       Mail
  36.  
  37. #  Note that "edit" will invoke the editor specified in the variable $EDITOR,
  38. #  which will typically be pico.  This supersedes the UNIX command "edit",
  39. #  which invokes ex.
  40. #  Note also that "dir" shows file names with file sizes in 1024k blocks.
  41. #
  42. # RNINIT includes options for the rn and trn newsreaders, -i1 causes the
  43. # initial screen of each message to be headers only.  Comment it out if you
  44. # want the first message screen to be a full screen of text.
  45. #
  46. setenv RNINIT -i1
  47. setenv ORGANIZATION "Express Access Online Communications, Greenbelt, MD USA"
  48. #
  49. #  Aliases to make UNIX less dangerous.
  50. #
  51. alias  compress   compress -v
  52. alias  cp         cp -i   # Prompt for approval before overwritting
  53. alias  mv         mv -i   # Prompt for approval before overwritting
  54. alias  rm         rm -i   # Prompt for approval before overwritting
  55. alias  finger     'finger \!* | more' # Pause finger when screen fills
  56. #
  57. # Aliases to make UNIX commands more MSDOS-like.
  58. #
  59. alias  copy       cp
  60. alias  del        rm
  61. alias  dir        "ls -la \!* | more" # Pause listing when screen fills
  62. alias  move       mv
  63. alias  type       more
  64. #
  65. #  Aliases to make UNIX more useful.
  66. #
  67. alias  course     'lynx /homeb/sjiug/help/index.html'
  68. alias  h          history   # Shortcut key for history command
  69. alias  last       'last | more'
  70. alias  p          pine -i
  71.  
  72. # edit or EDIT will invoke the editor specified above
  73. alias  edit       $EDITOR
  74. alias  faq        /pub/usenet/news.answers
  75.  
  76. #
  77. #      The following group are busy FTP sites. A connection to these sites
  78. # is frequently difficult to establish. The -r switch tells ncftp to keep
  79. # "redialing" until a connection is established. The -d1 switch tells ncftp
  80. # to dial every second. (The default is once a minute.) Rarely have I waited
  81. # more than 10/15 retries to get connected. ncftp will open the connection
  82. # and place you in the same directory used on your previous visit.
  83. #
  84.  
  85. #  CICA is perhaps the best depository for Windows programs. If you don't
  86. # want to start in the Windows directory, comment the next line and uncomment
  87. # the 2nd line down.
  88. alias  cica     'ncftp -r -d1 ftp://ftp.cica.indiana.edu/pub/pc/win3'
  89. # alias  cica   'ncftp -r -d1 ftp://ftp.cica.indiana.edu'
  90.  
  91. # Garbo is a good site for many things including Unix stuff
  92. alias  garbo    'ncftp -r -d1 ftp://garbo.uwasa.fi/unix'
  93.  
  94. # Next is UIUC for downloading NCSA Mosaic
  95. alias  mosaic   'ncftp -r -d1 ftp://ftp.ncsa.uiuc.edu/Web/Mosaic/Windows'
  96.  
  97. # Set to directory /netscape/windows for downloading Netscape.
  98. alias  netscape 'ncftp -r -d1 ftp://ftp.mcom.com:netscape/windows'
  99.  
  100. # RTFM at MIT is great for Usenet FAQs
  101. alias  rtfm     'ncftp -r -d1 ftp://rtfm.mit.edu/pub/usenet/news.answers'
  102.  
  103. # SimTel is a great DOS depository. If you don't want DOS directory comment
  104. # the next line and uncomment the 2nd line down.
  105. alias  simtel   'ncftp -r -d1 ftp://oak.oakland.edu/SimTel/msdos'
  106. # alias  simtel 'ncftp -r -d1 ftp://oak.oakland.edu'
  107.  
  108.  
  109. alias  start    'lynx /etc/webmenu/index.html'
  110. alias  learn    'lynx /homeb/sjiug/help/index.html'
  111. alias  fromurb  'cp /homeb/lejeune/map/$1 $1'
  112. alias  getnews  choosenews2
  113. alias  getwww   'cp -i /homeb/sjiug/www/\!* $HOME/\!*'
  114.  
  115. # end of .cshrc
  116.  
  117.  
  118.  
  119.  
  120.